package com.ruoyi.common.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 商品详情对象 lp_supplier_goods
 *
 * @author ruoyi
 * @date 2023-08-14
 */
@Data
public class SupplierGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品规格型号id */
    private Integer supplierGoodsId;
    /** 数量 */
    @Excel(name = "数量")
    private Integer requisitionNum;

    /** 商品id */
    @Excel(name = "商品id")
    private Integer supplierTableId;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String supplierGoodsName;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String supplierGoodsImage;

    /** 克重 */
    @Excel(name = "克重")
    private String supplierGoodsWeight;

    /** 纱支 */
    @Excel(name = "纱支")
    private String supplierGoodsSaori;

    /** 颜色 */
    @Excel(name = "颜色")
    private String supplierGoodsColor;

    /** 幅宽 */
    @Excel(name = "幅宽")
    private String supplierGoodsWidth;

    /** 印花风格 */
    @Excel(name = "印花风格")
    private String supplierGoodsStyle;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal supplierGoodsPrice;

    /** 库存 */
    @Excel(name = "库存")
    private Integer supplierGoodsNum;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("requisitionNum", getRequisitionNum())
                .append("supplierGoodsId", getSupplierGoodsId())
                .append("supplierTableId", getSupplierTableId())
                .append("supplierGoodsName", getSupplierGoodsName())
                .append("supplierGoodsImage", getSupplierGoodsImage())
                .append("supplierGoodsWeight", getSupplierGoodsWeight())
                .append("supplierGoodsSaori", getSupplierGoodsSaori())
                .append("supplierGoodsColor", getSupplierGoodsColor())
                .append("supplierGoodsWidth", getSupplierGoodsWidth())
                .append("supplierGoodsStyle", getSupplierGoodsStyle())
                .append("supplierGoodsPrice", getSupplierGoodsPrice())
                .append("supplierGoodsNum", getSupplierGoodsNum())
                .append("remark", getRemark())
                .toString();
    }
}
